<?php /* Smarty version Smarty-3.1.11, created on 2013-04-09 12:13:13
         compiled from "./smarty/templates/hotel_details.tpl" */ ?>
<?php /*%%SmartyHeaderCode:287540016516405d9f35bf0-64837981%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1755452a3fe05accf41f7a45eef45badaf9158dc' => 
    array (
      0 => './smarty/templates/hotel_details.tpl',
      1 => 1363364670,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '287540016516405d9f35bf0-64837981',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'hotel' => 0,
    'amenity' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_516405da0ec7b6_01261472',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_516405da0ec7b6_01261472')) {function content_516405da0ec7b6_01261472($_smarty_tpl) {?><div class="hotels" id="hotels<?php echo $_smarty_tpl->tpl_vars['hotel']->value['id'];?>
" style="display: block;">
	<strong>Property Description</strong><br />
	<div class="hotel-details-template">
		<?php echo mb_convert_encoding($_smarty_tpl->tpl_vars['hotel']->value['propertyDescription'], 'UTF-8', 'HTML-ENTITIES');?>
<br />
	</div>
	<strong>Hotel Policy</strong>
	<?php if (isset($_smarty_tpl->tpl_vars['hotel']->value['hotelPolicy'])){?>
    <div class="hotel-details-template" style="margin-top: -30px;"><?php echo $_smarty_tpl->tpl_vars['hotel']->value['hotelPolicy'];?>
</div>
	<?php }else{ ?>
	<div class="hotel-details-template" ><?php echo $_smarty_tpl->tpl_vars['hotel']->value['hotelPolicy'];?>
</div>
	<?php }?>
	<br />
	<div class="hotel-details-template">
		<?php if ($_smarty_tpl->tpl_vars['hotel']->value['checkInTime']!=''){?><strong>Check-in:</strong> <?php echo $_smarty_tpl->tpl_vars['hotel']->value['checkInTime'];?>
 <br /><?php }?>
		<?php if ($_smarty_tpl->tpl_vars['hotel']->value['checkOutTime']!=''){?> <strong>Check-out:</strong> <?php echo $_smarty_tpl->tpl_vars['hotel']->value['checkOutTime'];?>
 <br /><br /><?php }?>
	</div>
    <strong>Amenities</strong><br />
		<div class="hotel-details-template">
    <table style="width: 940px;">
        <tbody>
            <?php  $_smarty_tpl->tpl_vars['amenity'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['amenity']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['hotel']->value['propertyAmenities']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['amenity']->total= $_smarty_tpl->_count($_from);
 $_smarty_tpl->tpl_vars['amenity']->iteration=0;
 $_smarty_tpl->tpl_vars['amenity']->index=-1;
foreach ($_from as $_smarty_tpl->tpl_vars['amenity']->key => $_smarty_tpl->tpl_vars['amenity']->value){
$_smarty_tpl->tpl_vars['amenity']->_loop = true;
 $_smarty_tpl->tpl_vars['amenity']->iteration++;
 $_smarty_tpl->tpl_vars['amenity']->index++;
 $_smarty_tpl->tpl_vars['amenity']->first = $_smarty_tpl->tpl_vars['amenity']->index === 0;
 $_smarty_tpl->tpl_vars['amenity']->last = $_smarty_tpl->tpl_vars['amenity']->iteration === $_smarty_tpl->tpl_vars['amenity']->total;
?>
                <?php if ($_smarty_tpl->tpl_vars['amenity']->first==true){?>
                <tr>
                <?php }?>
                    <td><span id="amenity<?php echo $_smarty_tpl->tpl_vars['amenity']->value['amenityId'];?>
" ><?php echo mb_convert_encoding($_smarty_tpl->tpl_vars['amenity']->value['amenity'], 'UTF-8', 'HTML-ENTITIES');?>
<?php if ($_smarty_tpl->tpl_vars['amenity']->value['append']!=''){?><?php echo $_smarty_tpl->tpl_vars['amenity']->value['append'];?>
<?php }?></span></td>
                <?php if ($_smarty_tpl->tpl_vars['amenity']->first!=true){?>
                    <?php if (!($_smarty_tpl->tpl_vars['amenity']->iteration % 4)){?>
                    </tr>
                        <?php if ($_smarty_tpl->tpl_vars['amenity']->last!=true){?>
                        <tr>
                        <?php }?>    
                    <?php }?>
                <?php }?>
        <?php } ?>
        </tbody>
	</table>
	</div>
</div>
<?php }} ?>